
        
       
/*заголовок и ссылка на пример*/
    .begin-page{ 
         padding:5px 7px; 
         
           font-family:serif;
            background-color: white; 
              border-bottom: 1px solid #ccc;
             }


/*сбрасывают стилевые настройки по умолчанию*/
* {
    box-sizing: border-box;
}
html, body, div, span, h1, h2 h3, h5, h6, p, a, ul, li{
                 
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}
body {
    font-family: Verdana, Arial, sans-serif;    
    background-color: #f7f7f7;
         /*отступ снизу на высоту footer (height: 60px;) */
         margin-bottom: 60px;
}
/*------------Оглавление и название статьи-------------------*/  
#header{background-color: white;
    border-top: 1px solid #E3E3E3;
    border: 1px solid #dbdbdb; 
    height: 60px; padding-top: 16px;
  }  
  
  
  #header h1 {font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; 
     font-size: 24px;
     text-transform: uppercase;
     font-weight: none;
     padding-left: 15%;
     display: inline; 
  } 
  #logoSeparator {
     display: inline; 
     white-space: normal;
      height: 20px;
      width: 2px;
      background-color: #777;
      display: inline-block;
  
  }
  #name-content{ display: inline; font-style:italic; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;  color:rgb(68, 4, 4) ;padding: 0px 5px 0px 5px;}

/*отображение шапки (хедера) и заголовка страницы*/
#headerNav{ 
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; 
    font-size: .85em;
    background-color: #f4f4f4;
}

/*Ссылки на разделы сайта с описанием примеров*/
.name-title{color: rgb(39, 67, 145); text-decoration:none; width: auto; padding: 90px 30px 5px 30px;  font-size: 1.3em; display: block;}
.name-title:hover{color:blue;} 
#headerNav h1 {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 5px 30px 30px 30px;
    clear: both;
}

/*создание горизонтальной панели навигации*/
#nav {
    background-color: #eee;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc; 
}
#nav li {
    float: left;
    list-style: none;   
}
#nav a {
    display: block;
    color: black;
    padding: 10px 25px;
    text-decoration: none;
    border-right: 1px solid #ccc;
    
}
#nav li:last-child a {
    border-right: none; 
}

#nav:after {
    content: " ";
    display: table;
    clear: both;
}
#nav a:hover   {
                background-color:yellowgreen;
                cursor: default;
               }



/*средняя часть страницы, в частности, сайдбаров*/
.wrapper{
    margin-bottom:10px;
    background-color: #f7f7f7;position: relative;
	min-height: 100%; 
}
.aside h2 {
    font-size: 0.95em;
    margin-top: 15px;
}
.aside h3 {
    font-size: 0.85em;
    margin-top: 10px;
}
.aside p, .aside li {
    font-size: .75em;
    margin-top: 10px;   
}
.aside li{ 
    list-style-type: none;
}
#sidebar1 {
    float: left;
    width: 20%; 
    padding: 0 10px 0 20px;
}
#sidebar2 {
    float: right;
    width: 20%; 
    padding: 0 20px 0 10px;
}

 
 
/*блок основного содержимого и футера*/
#article{
    background-color: #fafafa;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    margin-left: 20%;
    margin-right: 20%; 
    padding: 15px;
    width: 60%; 
	
}	

#article:after{
    clear:both;
    display:table;
    content:'';
}
#article h2{
    font-size: 1.3em;
    margin-bottom:15px;
}
#article p{
    line-height: 150%;
    margin-bottom: 15px;
}
#footer{ 
     position: fixed; /* Фиксированное положение */
      left: 0; bottom: 0; /* Левый нижний угол */
	  width:100%;
	  
    border-top: 1px solid #ccc;
    font-size: .8em;   
    text-align: center;
    padding:20px 20px;
}   



/* Навигация по cайту: в начало стр., следующая, предедущая страница*/
     #nav-top-back-next{ position: fixed; bottom: 2px; left:50px; bottom: 60px; opacity: 0.1;}
     #nav-top-back-next p{margin-left: 27px;}
     #nav-top-back-next:hover{ opacity: .7;}

/**/
#nav ul, #header h1,  .wrapper, #footer p {
    max-width: 1200px;
    margin: 0 auto; 
}

.wrapper, #nav, #header, #footer{
    min-width: 768px;
}